<script setup lang="ts">
import {ref} from "vue";
import Setting from "./components/setting.vue";
import Content from "./components/content.vue";

const collapsed = ref(false)
</script>

<template>
  <div class="main-box">
    <div class="content">
      <content/>
    </div>
    <div class="aside">
      <setting/>
    </div>
  </div>
</template>

<style lang="scss">
html, body, #app {
  height: 100%;
  width: 100%;
  margin: 0;
}
</style>
<style lang="scss" scoped>
.el-main {
  padding: 15px;
}

.main-box {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;

  .content {
    flex: 1;
    padding: 15px;
    width: 0;
    overflow: hidden;
  }

  .aside {
    width: 220px;
    background: #f6f6f6;
    box-sizing: border-box;
    padding: 5px;
  }
}
</style>
